<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>登陆页面</title>
		<script type="text/javascript" src="../../lib/jq/jquery-1.11.3.min.js" ></script>
	<script>
		$(function(){
			document.cookie = "a=9#b=2#c=3#d=4#e=5#f=6;";
			console.log(" document.cookie ... ",document.cookie);
			let cookies = document.cookie.split("#");
			console.log("cookies ： ",cookies);
			for(let i in cookies){
				let cookie = cookies[i].split("=");
				console.log("cookie ： ",cookie);
				if(cookie[0] === "c"){
					console.log(" 跳转到指定页面  ... ");
					return;
				}
			}
		})
		
	</script>
	
	</head>
	<body>
		<a href="./15-JS控制History.html" >12312323</a>	
	</body>
</html>
